/**
 * Customize default theme styling by overriding CSS variables:
 * https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/vars.css
 */

/**
 * Colors
 * -------------------------------------------------------------------------- */

:root {
	--vp-c-brand: #ff7707;
	--vp-c-brand-light: #f68b32;
	--vp-c-brand-lighter: #f8a153;
	--vp-c-brand-1: #ff7707;
	--vp-c-brand-2: #f8a153;
	--vp-c-brand-lightest: #f6ad75;
	--vp-c-brand-dark: #ff7707;
	--vp-c-brand-darker: #f6a462;
	--vp-c-brand-dimm: rgba(255, 119, 7, 0.08);
}

/**
 * Component: Button
 * -------------------------------------------------------------------------- */

:root {
	--vp-button-brand-border: var(--vp-c-brand-light);
	--vp-button-brand-text: var(--vp-c-white);
	--vp-button-brand-bg: var(--vp-c-brand);
	--vp-button-brand-hover-border: var(--vp-c-brand-light);
	--vp-button-brand-hover-text: var(--vp-c-white);
	--vp-button-brand-hover-bg: var(--vp-c-brand-light);
	--vp-button-brand-active-border: var(--vp-c-brand-light);
	--vp-button-brand-active-text: var(--vp-c-white);
	--vp-button-brand-active-bg: var(--vp-button-brand-bg);
}

/**
 * Component: Home
 * -------------------------------------------------------------------------- */

:root {
	--vp-home-hero-name-color: transparent;
	--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #ff7707 30%, #809aff);

	--vp-home-hero-image-background-image: linear-gradient(-45deg, #ff7707 50%, #809aff 50%);
	--vp-home-hero-image-filter: blur(40px);
}

@media (min-width: 640px) {
	:root {
		--vp-home-hero-image-filter: blur(56px);
	}
}

@media (min-width: 960px) {
	:root {
		--vp-home-hero-image-filter: blur(72px);
	}
}

/**
 * Component: Custom Block
 * -------------------------------------------------------------------------- */

:root {
	--vp-custom-block-tip-border: var(--vp-c-brand);
	--vp-custom-block-tip-text: var(--vp-c-brand-darker);
	--vp-custom-block-tip-bg: var(--vp-c-brand-dimm);
}

.dark {
	--vp-custom-block-tip-border: var(--vp-c-brand);
	--vp-custom-block-tip-text: var(--vp-c-brand-lightest);
	--vp-custom-block-tip-bg: var(--vp-c-brand-dimm);
}

/**
 * Component: Algolia
 * -------------------------------------------------------------------------- */

.DocSearch {
	--docsearch-primary-color: var(--vp-c-brand) !important;
}

html ::-webkit-scrollbar-track-piece {
	background: rgba(255, 62, 0, 0.06);
}

html ::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

html ::-webkit-scrollbar-thumb {
	background: rgba(255, 62, 0, 0.38);
	border-radius: 20px;
}
